<style lang="scss">
.CrudContentMobile {
  &__item {
    margin-bottom: 10px;
  }
}
</style>

<template>
  <div class="CrudContentMobile">
   <el-card class="CrudContentMobile__item" v-for="row in data">
     {{row.id}}
     <div>
       <el-button @click="exportScope.detail(row)">详情</el-button>
       <el-button @click="exportScope.delRow(row)" type="danger" >删除</el-button>
     </div>
   </el-card>
  </div>
</template>

<script>

export default {
  name: 'CrudContentMobile',
  components: {},
  props: {
    data: {
      type: Array,
      default() {
        return []
      }
    },
    exportScope: null
  },
}
</script>


